package org.springcloud.wisdom.spring_02_classroom.student.attendence.change;

import org.springcloud.wisdom.spring_02_classroom.student.attendence.entity.AttendenceEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AttendenceService2 {

    @Autowired
    private AttendenceMapper attendenceMapper;

    public boolean updateSignCount(AttendenceEntity attendenceEntity) {
        return attendenceMapper.updateSignCount(attendenceEntity) > 0;
    }
}
